using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN UsersEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: UsersEntityBase</para>
	/// <para>Description: ClassUsersEntityBase store data of table Users</para>
	///</summary>

	[DataContract]
	public  class UsersEntityBase{


		private bool _InternalChangedIsNullUser_ID=true;
		private bool _IsNullUser_ID=true;
		private bool _InternalChangedIsNullUserName=true;
		private bool _IsNullUserName=true;
		private bool _InternalChangedIsNullPassword=true;
		private bool _IsNullPassword=true;
		private bool _InternalChangedIsNullDisplayName=true;
		private bool _IsNullDisplayName=true;
		private bool _InternalChangedIsNullUserType=true;
		private bool _IsNullUserType=true;
		private bool _InternalChangedIsNullEmail=true;
		private bool _IsNullEmail=true;
		private bool _InternalChangedIsNullPhone=true;
		private bool _IsNullPhone=true;
		private bool _InternalChangedIsNullEmployee_ID=true;
		private bool _IsNullEmployee_ID=true;
		private bool _InternalChangedIsNullIsOnline=true;
		private bool _IsNullIsOnline=true;
		private bool _InternalChangedIsNullActived=true;
		private bool _IsNullActived=true;
		private int _User_ID;
		private string _UserName;
		private string _Password;
		private string _DisplayName;
		private Byte _UserType;
		private string _Email;
		private string _Phone;
		private int _Employee_ID;
		private bool _IsOnline;
		private bool _Actived;
		[DataMember]
		public bool IsNullUser_ID{
			get{return _IsNullUser_ID;}
			set{if(!_InternalChangedIsNullUser_ID)_IsNullUser_ID=value;}
		}
		[DataMember]
		public bool IsNullUserName{
			get{return _IsNullUserName;}
			set{if(!_InternalChangedIsNullUserName)_IsNullUserName=value;}
		}
		[DataMember]
		public bool IsNullPassword{
			get{return _IsNullPassword;}
			set{if(!_InternalChangedIsNullPassword)_IsNullPassword=value;}
		}
		[DataMember]
		public bool IsNullDisplayName{
			get{return _IsNullDisplayName;}
			set{if(!_InternalChangedIsNullDisplayName)_IsNullDisplayName=value;}
		}
		[DataMember]
		public bool IsNullUserType{
			get{return _IsNullUserType;}
			set{if(!_InternalChangedIsNullUserType)_IsNullUserType=value;}
		}
		[DataMember]
		public bool IsNullEmail{
			get{return _IsNullEmail;}
			set{if(!_InternalChangedIsNullEmail)_IsNullEmail=value;}
		}
		[DataMember]
		public bool IsNullPhone{
			get{return _IsNullPhone;}
			set{if(!_InternalChangedIsNullPhone)_IsNullPhone=value;}
		}
		[DataMember]
		public bool IsNullEmployee_ID{
			get{return _IsNullEmployee_ID;}
			set{if(!_InternalChangedIsNullEmployee_ID)_IsNullEmployee_ID=value;}
		}
		[DataMember]
		public bool IsNullIsOnline{
			get{return _IsNullIsOnline;}
			set{if(!_InternalChangedIsNullIsOnline)_IsNullIsOnline=value;}
		}
		[DataMember]
		public bool IsNullActived{
			get{return _IsNullActived;}
			set{if(!_InternalChangedIsNullActived)_IsNullActived=value;}
		}
		[DataMember]
		public int User_ID{
			get{return _User_ID;}
			set{
				_User_ID=value;
				if(_User_ID!=null){
					_IsNullUser_ID=false;
					_InternalChangedIsNullUser_ID=true;
				}
			}
		}
		[DataMember]
		public string UserName{
			get{return _UserName;}
			set{
				_UserName=value;
				if(_UserName!=null){
					_IsNullUserName=false;
					_InternalChangedIsNullUserName=true;
				}
			}
		}
		[DataMember]
		public string Password{
			get{return _Password;}
			set{
				_Password=value;
				if(_Password!=null){
					_IsNullPassword=false;
					_InternalChangedIsNullPassword=true;
				}
			}
		}
		[DataMember]
		public string DisplayName{
			get{return _DisplayName;}
			set{
				_DisplayName=value;
				if(_DisplayName!=null){
					_IsNullDisplayName=false;
					_InternalChangedIsNullDisplayName=true;
				}
			}
		}
		[DataMember]
		public Byte UserType{
			get{return _UserType;}
			set{
				_UserType=value;
				if(_UserType!=null){
					_IsNullUserType=false;
					_InternalChangedIsNullUserType=true;
				}
			}
		}
		[DataMember]
		public string Email{
			get{return _Email;}
			set{
				_Email=value;
				if(_Email!=null){
					_IsNullEmail=false;
					_InternalChangedIsNullEmail=true;
				}
			}
		}
		[DataMember]
		public string Phone{
			get{return _Phone;}
			set{
				_Phone=value;
				if(_Phone!=null){
					_IsNullPhone=false;
					_InternalChangedIsNullPhone=true;
				}
			}
		}
		[DataMember]
		public int Employee_ID{
			get{return _Employee_ID;}
			set{
				_Employee_ID=value;
				if(_Employee_ID!=null){
					_IsNullEmployee_ID=false;
					_InternalChangedIsNullEmployee_ID=true;
				}
			}
		}
		[DataMember]
		public bool IsOnline{
			get{return _IsOnline;}
			set{
				_IsOnline=value;
				if(_IsOnline!=null){
					_IsNullIsOnline=false;
					_InternalChangedIsNullIsOnline=true;
				}
			}
		}
		[DataMember]
		public bool Actived{
			get{return _Actived;}
			set{
				_Actived=value;
				if(_Actived!=null){
					_IsNullActived=false;
					_InternalChangedIsNullActived=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END UsersEntityBase*****************************************/
	/*****************************************************************************************************/
}

